But there's a slight twist: the onclick property wants to be fed a function reference& not the string name of a function, but a reference to the function itself. 但是有点细微的地方:onclick属性需要提供函数引用&不是函数的字符串名称,而是函数本身的引用。
Each rule service fa ç ade operation creates an instance of the TriggerPoint class and invokes the trigger() function on that class with the reference to invoker, input parameters, and the rule name. 每种规则服务façade操作都创建了TriggerPoint类的实例并通过使用对于调用的引用、输入参数及规则名称来调用该类的trigger()函数。